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EAACkC,EAAAA,GAAeA,CAAAA,CACdxB,KAAK,UACLC,KAAK,gBACLwB,gBAAiBxE,EAAYyE,IAAI,MAGrC,GAAAxC,EAAAI,GAAA,EAACF,EAAAA,CAAKA,CAAAA,CAAC0B,QAAQ,gBACb,GAAA5B,EAAAI,GAAA,EAACyB,EAAAA,CAAGA,CAAAA,CAACC,MAAM,OAAOC,OAAO,MAAMC,MAAO,CAAEC,WAAY,OAAQ,MAE9D,GAAAjC,EAAAI,GAAA,EAACF,EAAAA,CAAKA,CAAAA,CAAC0B,QAAQ,YAAYa,aAAa,OAAOJ,IAAI,eACjD,GAAArC,EAAAI,GAAA,EAACsC,EAAAA,GAAQA,CAAAA,CAACjB,cAAepD,MAG3B,GAAA2B,EAAAC,IAAA,EAACC,EAAAA,CAAKA,CAAAA,CAAC0B,QAAQ,iBAAiBS,IAAI,iBAClC,GAAArC,EAAAI,GAAA,EAACuC,KAAAA,CAAGT,UAAU,yBAAgB,qBAC7B3D,EAAkBa,GAAG,CAAC,GAACC,KAOZA,EANV,SAAAW,EAAAI,GAAA,EAACwC,EAAAA,GAAaA,CAAAA,CACZC,QAASxD,EAAIwD,OAAO,CACpBC,aAAc,CAAC,aAAa,CAE5BvD,KAAMF,EAAInB,WAAW,CACrB6C,KAAM,4CAA4DvB,MAAA,CAAhBH,EAAInB,WAAW,CAAC,KAClE6E,OAAQ1D,CAAAA,IAAa,GAAbA,CAAAA,EAAAA,EAAIK,MAAM,CAAC,EAAE,GAAbL,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAAeM,GAAG,EAAGN,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAG,EAAE,EAH9CN,EAAInB,WAAW,SAShC","sources":["webpack://_N_E/?b7eb","webpack://_N_E/./pages/free-benefit/free-facility/[companyname].tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/free-benefit/free-facility/[companyname]\",\n function () {\n return require(\"private-next-pages/free-benefit/free-facility/[companyname].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/free-benefit/free-facility/[companyname]\"])\n });\n }\n ","import {\n DTypeMainHead,\n DTypeCardView,\n FUNERAL_SIDO,\n FUNERAL_SIGUNGU,\n colors,\n ATypeMap,\n GOI_WEB_URL,\n ATypeBreadCrumb,\n FullWidthButton,\n} from \"goi_common\";\nimport { GetStaticPaths, GetStaticProps } from \"next\";\n\nimport React from \"react\";\nimport { ParlorDetailProps } from \"goi_common\";\nimport { parlorRegion } from \"@/constants/parlorRegion\";\nimport { Box, Stack } from \"@mui/material\";\nimport Head from \"next/head\";\nimport facilities from \"goi_common/src/constants/facilities_detail.json\";\n\nconst { regionColor, targetSidos } = parlorRegion;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n const paths = facilities\n .filter((f) => targetSidos.includes(f.sido) && f.is_public)\n .map((f) => ({\n params: {\n companyname: \"기초생활수급자 공설장지 \" + f.companyname,\n },\n }));\n\n return {\n paths,\n fallback: false,\n };\n};\n\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n const code = params?.companyname as string;\n const companyname = code.replace(\"기초생활수급자 공설장지 \", \"\");\n let p_facility;\n let district;\n let name = \"\";\n let description = \"\";\n\n if (companyname) {\n p_facility = facilities.find((f) => f.companyname === companyname);\n if (p_facility) {\n name = p_facility.companyname;\n\n district = p_facility.address.slice(0, 2);\n if (p_facility.address.split(\" \")[0].length == 4)\n district = p_facility.address[0] + p_facility.address[2];\n\n description = `${p_facility.companyname} 기초생활수급자는 화장 비용 어떻게 될까? ${p_facility.address}`;\n }\n }\n\n return {\n props: {\n defaultPFacility: p_facility,\n pageDescription: description,\n pageKeywords: `${p_facility?.companyname}, ${p_facility?.companyname} 기초생활수급자, ${district} 기초생활수급자 장례, 장제비, 장제급여, 기초생활수급자 장례 얼마,`,\n pageOgTitle: `기초생활 보호 대상자를 위한 화장 비용 안내 (${p_facility?.companyname}):: 전라광주장례추천포털`,\n pageOgDescription: description,\n pageOgImage: p_facility?.images[0].url || \"\",\n hasError: !p_facility,\n },\n };\n};\n\nexport default function companyname({\n defaultPFacility,\n pageOgTitle,\n}: {\n defaultPFacility: ParlorDetailProps;\n pageOgTitle: string;\n}) {\n const regionPFacilities = facilities.filter((p) =>\n targetSidos.includes(String(p.sido))\n );\n const sidoName = FUNERAL_SIDO.get(Number(defaultPFacility.sido));\n const sigunguName = FUNERAL_SIGUNGU.get(Number(defaultPFacility.sido))?.get(\n Number(defaultPFacility.sigungu)\n );\n const carouselItems = regionPFacilities.map((res, i) => {\n return {\n \"@type\": \"ListItem\",\n name: `(비용안내) ${res.companyname}`,\n image: `${res.images[0].url}`,\n url: `https://www.honam-funeralcenter.co.kr/free-benefit/free-facility/${res.companyname} 기초생활수급자 안내`,\n position: i + 1,\n };\n });\n\n const carouselRichSearch =\n regionPFacilities.length > 6\n ? {\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n itemListElement: carouselItems,\n }\n : {};\n return (\n \n \n {pageOgTitle}\n {regionPFacilities.length > 5 && (\n \n )}\n \n \n \n\n \n \n \n \n 기초생활수급자는 화장 비용이 전액 감면됩니다.\n \n\n \n \n e-하늘장사정보시스템에서 가져온 정보이며, 자세한 안치 대상 여부를\n 알아보려면 상담이 필요합니다.\n \n \n \n \n \n \n \n \n \n\n \n

전라 광주 기초생활수급자 장지

\n {regionPFacilities.map((res) => (\n \n ))}\n
\n \n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","regionColor","targetSidos","parlorRegion","companyname","param","FUNERAL_SIGUNGU","defaultPFacility","pageOgTitle","regionPFacilities","facilities","includes","String","p","sido","sidoName","FUNERAL_SIDO","Number","sigunguName","get","sigungu","carouselItems","map","res","i","name","concat","image","images","url","position","carouselRichSearch","length","itemListElement","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Stack","Head","jsx","title","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","ATypeBreadCrumb","firstItem","text","href","GOI_WEB_URL","event","domain","path","trigger_and_target","secondItem","goiHomeEvent","DTypeMainHead","mainColor","defaultParlor","managed_type","isJangji","padding","Box","width","height","style","background","className","colors","margin","gap","FullWidthButton","backgroundColor","c400","marginBottom","ATypeMap","h3","DTypeCardView","address","descriptions","imgSrc"],"sourceRoot":""}